package com.yu.Pojo;

public class User {
    private Integer id;
    private String userCode;//密码
    private String userName;//用户名
    private Integer gender;//sex
    private String phone;//电话

    public User (Integer id, String userCode, String userName, Integer gender, String phone) {
        this.id = id;
        this.userCode = userCode;
        this.userName = userName;
        this.gender = gender;
        this.phone = phone;
    }

    public User () {

    }

    public User (String userCode, String userName) {

    }


    @Override
    public String toString () {
        return "User{" +
                "id=" + id +
                ", userCode='" + userCode + '\'' +
                ", userName='" + userName + '\'' +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                '}';
    }

    public int getId () {
        return id;
    }

    public void setId (int id) {
        this.id = id;
    }

    public String getUserCode () {
        return userCode;
    }

    public void setUserCode (String userCode) {
        this.userCode = userCode;
    }

    public String getUserName () {
        return userName;
    }

    public void setUserName (String userName) {
        this.userName = userName;
    }

    public Integer getGender () {
        return gender;
    }

    public void setGender (Integer gender) {
        this.gender = gender;
    }

    public String getPhone () {
        return phone;
    }

    public void setPhone (String phone) {
        this.phone = phone;
    }
}
